package lijun;

public class test5 {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle(1, 2);
        Cube cube = new Cube(2, 3, 4);
        Circle circle = new Circle(2);
        Cylinder cylinder = new Cylinder(3, 4);
        System.out.println(rectangle.getMj() + cube.getTj() + circle.getMj() + cylinder.getTj());
    }
}
